package com.mjh.mapper;

import com.mjh.bean.Role;

import java.util.List;
import java.util.Set;

/**
* @author ma
* @description 针对表【t_role(角色表)】的数据库操作Mapper
* @createDate 2025-02-18 15:20:11
* @Entity com.mjh.bean.Role
*/
public interface RoleMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

    Set<String> selectRoleByUserId(Integer id);

    List<Role> selectAll();
}
